computing the system frequency response